package com.syq.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author syq
 * @since 2022-07-21
 */
@TableName("report")
public class Report implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病人id
     */
    @TableId(value = "report_id", type = IdType.AUTO)
    private Integer reportId;

    /**
     * 病人姓名
     */
    private String reportName;

    /**
     * 病人性别
     */
    private String sex;

    /**
     * 病人年龄
     */
    private Integer age;

    /**
     * 就诊科室
     */
    private Integer department;

    /**
     * 看诊医生
     */
    private Integer doctor;

    /**
     * 挂号类型
     */
    private Integer reportType;

    /**
     * 挂号价钱
     */
    private Double price;

    /**
     * 挂号时间
     */
    private LocalDateTime time;

    /**
     * 录入人
     */
    private String users;

    /**
     * 0-已删除，1-已预约，2-药品缴费成功，3-药品出库，4-转入住院
     */
    private Integer state;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 身份号id
     */
    private String carid;

    /**
     * 病因
     */
    private String zhuan;

    public Integer getReportId() {
        return reportId;
    }

    public void setReportId(Integer reportId) {
        this.reportId = reportId;
    }
    public String getReportName() {
        return reportName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
    public Integer getDepartment() {
        return department;
    }

    public void setDepartment(Integer department) {
        this.department = department;
    }
    public Integer getDoctor() {
        return doctor;
    }

    public void setDoctor(Integer doctor) {
        this.doctor = doctor;
    }
    public Integer getReportType() {
        return reportType;
    }

    public void setReportType(Integer reportType) {
        this.reportType = reportType;
    }
    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }
    public String getUsers() {
        return users;
    }

    public void setUsers(String users) {
        this.users = users;
    }
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getCarid() {
        return carid;
    }

    public void setCarid(String carid) {
        this.carid = carid;
    }
    public String getZhuan() {
        return zhuan;
    }

    public void setZhuan(String zhuan) {
        this.zhuan = zhuan;
    }

    @Override
    public String toString() {
        return "Report{" +
            "reportId=" + reportId +
            ", reportName=" + reportName +
            ", sex=" + sex +
            ", age=" + age +
            ", department=" + department +
            ", doctor=" + doctor +
            ", reportType=" + reportType +
            ", price=" + price +
            ", time=" + time +
            ", users=" + users +
            ", state=" + state +
            ", phone=" + phone +
            ", carid=" + carid +
            ", zhuan=" + zhuan +
        "}";
    }
}
